package com.hwadee.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hwadee.backend.entity.Record;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RecordMapper extends BaseMapper<Record> {
    @Select("SELECT recordtype FROM record WHERE recordid = #{recordid}")
    String selectRecordtypeByRecordid(@Param("recordid") int recordid);
}